﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CheckingDataSet" targetNamespace="http://tempuri.org/CheckingDataSet.xsd" xmlns:mstns="http://tempuri.org/CheckingDataSet.xsd" xmlns="http://tempuri.org/CheckingDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CheckingConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="CheckingConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Checking.Properties.Settings.GlobalReference.Default.CheckingConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="checkBookTableAdapter" GeneratorDataComponentClassName="checkBookTableAdapter" Name="checkBook" UserDataComponentName="checkBookTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CheckingConnectionString (Settings)" DbObjectName="Checking.dbo.checkBook" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[checkBook] ([Date], [Description], [Deposits], [Credits], [Balance]) VALUES (@Date, @Description, @Deposits, @Credits, @Balance)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Deposits" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="Deposits" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Credits" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="Credits" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Date, Description, Deposits, Credits, Balance FROM dbo.checkBook</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Date" DataSetColumn="Date" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Deposits" DataSetColumn="Deposits" />
              <Mapping SourceColumn="Credits" DataSetColumn="Credits" />
              <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="CheckingConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="InsertQuery" Modifier="Public" Name="InsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertQuery">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [dbo].[checkBook] ([Date], [Description], [Deposits], [Credits], [Balance]) VALUES (@Date, @Description, @Deposits, @Credits, @Balance)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Date" ColumnName="Date" DataSourceName="Checking.dbo.checkBook" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Description" ColumnName="Description" DataSourceName="Checking.dbo.checkBook" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Deposits" ColumnName="Deposits" DataSourceName="Checking.dbo.checkBook" DataTypeServer="smallmoney" DbType="Currency" Direction="Input" ParameterName="@Deposits" Precision="0" ProviderType="SmallMoney" Scale="0" Size="4" SourceColumn="Deposits" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Credits" ColumnName="Credits" DataSourceName="Checking.dbo.checkBook" DataTypeServer="smallmoney" DbType="Currency" Direction="Input" ParameterName="@Credits" Precision="0" ProviderType="SmallMoney" Scale="0" Size="4" SourceColumn="Credits" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Balance" ColumnName="Balance" DataSourceName="Checking.dbo.checkBook" DataTypeServer="smallmoney" DbType="Currency" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="SmallMoney" Scale="0" Size="4" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="CheckingConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ScalarQuery" Modifier="Public" Name="ScalarQuery" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="ScalarQuery">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT COUNT(*) FROM checkBook</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CheckingDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CheckingDataSet" msprop:Generator_DataSetName="CheckingDataSet" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="checkBook" msprop:Generator_UserTableName="checkBook" msprop:Generator_RowDeletedName="checkBookRowDeleted" msprop:Generator_RowChangedName="checkBookRowChanged" msprop:Generator_RowClassName="checkBookRow" msprop:Generator_RowChangingName="checkBookRowChanging" msprop:Generator_RowEvArgName="checkBookRowChangeEvent" msprop:Generator_RowEvHandlerName="checkBookRowChangeEventHandler" msprop:Generator_TableClassName="checkBookDataTable" msprop:Generator_TableVarName="tablecheckBook" msprop:Generator_RowDeletingName="checkBookRowDeleting" msprop:Generator_TablePropName="checkBook">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Date" msprop:Generator_UserColumnName="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Deposits" msprop:Generator_UserColumnName="Deposits" msprop:Generator_ColumnVarNameInTable="columnDeposits" msprop:Generator_ColumnPropNameInRow="Deposits" msprop:Generator_ColumnPropNameInTable="DepositsColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Credits" msprop:Generator_UserColumnName="Credits" msprop:Generator_ColumnVarNameInTable="columnCredits" msprop:Generator_ColumnPropNameInRow="Credits" msprop:Generator_ColumnPropNameInTable="CreditsColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Balance" msprop:Generator_UserColumnName="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DataTable1" msprop:Generator_UserTableName="DataTable1" msprop:Generator_RowDeletedName="DataTable1RowDeleted" msprop:Generator_TableClassName="DataTable1DataTable" msprop:Generator_RowChangedName="DataTable1RowChanged" msprop:Generator_RowClassName="DataTable1Row" msprop:Generator_RowChangingName="DataTable1RowChanging" msprop:Generator_RowEvArgName="DataTable1RowChangeEvent" msprop:Generator_RowEvHandlerName="DataTable1RowChangeEventHandler" msprop:Generator_TablePropName="DataTable1" msprop:Generator_TableVarName="tableDataTable1" msprop:Generator_RowDeletingName="DataTable1RowDeleting">
          <xs:complexType>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>